package com.ddpt.platform.common.export.dto.order;

import com.ddpt.platform.common.export.dto.ExportRequestDto;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 售后订单详情导出Dto
 *
 * @author : zhanggsc
 * @Data : 2023/3/7 13:50
 */
@Getter
@Setter
public class AfterSalesOrderDto extends ExportRequestDto {

    /**
     * 业务id
     */
    private Long businessId;

    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 查询机构ids以,分割
     */
    private String searchInsIds;

    /**
     * 查询机构ids
     */
    private List<Long> queryInsIds;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 商家id
     */
    private Long storeId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 当前异常订单状态
     */
    private String status;

    /**
     * 用户手机号码
     */
    private String userPhone;

    /**
     * 创建时间-开始
     */
    private Long queryCreateTimeStart;

    /**
     * 创建时间-结束
     */
    private Long queryCreateTimeEnd;

    @Override
    public String toString() {
        return "AfterSalesOrderDto{" +
                "businessId=" + businessId +
                ", businessType='" + businessType + '\'' +
                ", searchInsIds='" + searchInsIds + '\'' +
                ", queryInsIds=" + queryInsIds +
                ", orderNo='" + orderNo + '\'' +
                ", storeId=" + storeId +
                ", userId=" + userId +
                ", status='" + status + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", queryCreateTimeStart=" + queryCreateTimeStart +
                ", queryCreateTimeEnd=" + queryCreateTimeEnd +
                '}';
    }

    /**
     * 子类dto自定义-参数拼接方法
     * @return
     */
    @Override
    public String montage() {
        return super.montage() + this;
    }

}
